const part2 = {
    // namespaced: true,
    state: {
        data: {
            count: 0,
            price: 0,
        }
    },
    getters: {
        totalNum: state => {
            return state.data;
        }
    },
    mutations: {
        changeCount(state, num) {
            state.data.count = num;
        },
        changePrice(state, num) {
            state.data.price = num;
        }
    },
    actions: {}
}
export default part2